package org.bigdata.framework.core.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author dal.anhuifeng
 * @since 2017-07-23
 */
@TableName("data_property")
public class DataProperty implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 英文名称
	 */
	@TableField(value="name_en")
	private String nameEn;

	/**
	 * 中文名称
	 */
	@TableField(value="name_zh")
	private String nameZh;

	/**
	 * 公用字段（跨库检索使用）
	 */
	@TableField(value="common_data_property_id")
	private Integer commonDataPropertyId;

	/**
	 * 所属类
	 */
	@TableField(value="classes_id")
	private Integer classesId;

	/**
	 * 数据类型
	 */
	@TableField(value="data_type_id")
	private Integer dataTypeId;

	/**
	 * 分隔符
	 */
	private String separator;

	/**
	 * 字段名称（存储和Solr使用）
	 */
	private String field;

	/**
	 * 字段长度
	 */
	@TableField(value="field_length")
	private Integer fieldLength;

	/**
	 * 关联字典类
	 */
	@TableField(value="dict_id")
	private Integer dictId;

	/**
	 * 是否多值
	 */
	@TableField(value="multi_valued")
	private String multiValued;

	/**
	 * 是否必填
	 */
	private String required;

	/**
	 * 是否内容存储
	 */
	private String stored;

	/**
	 * 是否建立索引
	 */
	private String indexed;

	/**
	 * 是否用作“more like this和highlight的特性”
	 */
	@TableField(value="term_vectors")
	private String termVectors;

	/**
	 * 是否分面字段
	 */
	private String faceted;

	/**
	 * 是否排序字段
	 */
	@TableField(value="sort_field")
	private String sortField;

	/**
	 * 是否前台列表页显示
	 */
	@TableField(value="web_list_show")
	private String webListShow;

	/**
	 * 是否前台详情页显示
	 */
	@TableField(value="web_detail_show")
	private String webDetailShow;

	/**
	 * 是否后台列表页显示
	 */
	@TableField(value="admin_list_show")
	private String adminListShow;

	/**
	 * 是否后台详情页显示
	 */
	@TableField(value="admin_detail_show")
	private String adminDetailShow;

	/**
	 * 是否关联展示首显项
	 */
	@TableField(value="relevance_class_show_field")
	private String relevanceClassShowField;

	/**
	 * 表单验证规则
	 */
	@TableField(value="form_validation_regulation")
	private String formValidationRegulation;

	/**
	 * 排序
	 */
	private Integer sort;

	/**
	 * 是否普通检索字段（0-否1-是）
	 */
	@TableField(value="general_search_field")
	private String generalSearchField;

	/**
	 * 是否高级检索字段（0-否1-是）
	 */
	@TableField(value="advanced_search_field")
	private String advancedSearchField;

	/**
	 * 是否二次检索字段（0-否1-是）
	 */
	@TableField(value="search_within_results_field")
	private String searchWithinResultsField;

	/**
	 * 是否标红字段（0-否1-是）
	 */
	@TableField(value="highlighting_field")
	private String highlightingField;

	/**
	 * 是否导航页左侧聚类字段（0-否 1-是）
	 */
	@TableField(value="navigation_faceted_left")
	private String navigationFacetedLeft;

	/**
	 * 是否导航页筛选字段（0-否 1-是）
	 */
	@TableField(value="navigation_faceted_right")
	private String navigationFacetedRight;

	/**
	 * 是否导航页检索字段（0-否 1-是）
	 */
	@TableField(value="navigation_search_field")
	private String navigationSearchField;

	/**
	 * 是否产品库普通检索字段（0-否1-是）
	 */
	@TableField(value="product_general_search_field")
	private String productGeneralSearchField;

	/**
	 * 是否产品库高级检索字段（0-否1-是）
	 */
	@TableField(value="product_advanced_search_field")
	private String productAdvancedSearchField;

	/**
	 * 是否产品库分面字段（0-否1-是）
	 */
	@TableField(value="product_faceted")
	private String productFaceted;

	/**
	 * 是否产品库列表显示（0-否1-是）
	 */
	@TableField(value="product_web_list_show")
	private String productWebListShow;

	/**
	 * 是否产品库详情页显示（0-否1-是）
	 */
	@TableField(value="product_web_detail_show")
	private String productWebDetailShow;



	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNameEn() {
		return nameEn;
	}

	public void setNameEn(String nameEn) {
		this.nameEn = nameEn;
	}

	public String getNameZh() {
		return nameZh;
	}

	public void setNameZh(String nameZh) {
		this.nameZh = nameZh;
	}

	public Integer getCommonDataPropertyId() {
		return commonDataPropertyId;
	}

	public void setCommonDataPropertyId(Integer commonDataPropertyId) {
		this.commonDataPropertyId = commonDataPropertyId;
	}

	public Integer getClassesId() {
		return classesId;
	}

	public void setClassesId(Integer classesId) {
		this.classesId = classesId;
	}

	public Integer getDataTypeId() {
		return dataTypeId;
	}

	public void setDataTypeId(Integer dataTypeId) {
		this.dataTypeId = dataTypeId;
	}

	public String getSeparator() {
		return separator;
	}

	public void setSeparator(String separator) {
		this.separator = separator;
	}

	public String getField() {
		return field;
	}

	public void setField(String field) {
		this.field = field;
	}

	public Integer getFieldLength() {
		return fieldLength;
	}

	public void setFieldLength(Integer fieldLength) {
		this.fieldLength = fieldLength;
	}

	public Integer getDictId() {
		return dictId;
	}

	public void setDictId(Integer dictId) {
		this.dictId = dictId;
	}

	public String getMultiValued() {
		return multiValued;
	}

	public void setMultiValued(String multiValued) {
		this.multiValued = multiValued;
	}

	public String getRequired() {
		return required;
	}

	public void setRequired(String required) {
		this.required = required;
	}

	public String getStored() {
		return stored;
	}

	public void setStored(String stored) {
		this.stored = stored;
	}

	public String getIndexed() {
		return indexed;
	}

	public void setIndexed(String indexed) {
		this.indexed = indexed;
	}

	public String getTermVectors() {
		return termVectors;
	}

	public void setTermVectors(String termVectors) {
		this.termVectors = termVectors;
	}

	public String getFaceted() {
		return faceted;
	}

	public void setFaceted(String faceted) {
		this.faceted = faceted;
	}

	public String getSortField() {
		return sortField;
	}

	public void setSortField(String sortField) {
		this.sortField = sortField;
	}

	public String getWebListShow() {
		return webListShow;
	}

	public void setWebListShow(String webListShow) {
		this.webListShow = webListShow;
	}

	public String getWebDetailShow() {
		return webDetailShow;
	}

	public void setWebDetailShow(String webDetailShow) {
		this.webDetailShow = webDetailShow;
	}

	public String getAdminListShow() {
		return adminListShow;
	}

	public void setAdminListShow(String adminListShow) {
		this.adminListShow = adminListShow;
	}

	public String getAdminDetailShow() {
		return adminDetailShow;
	}

	public void setAdminDetailShow(String adminDetailShow) {
		this.adminDetailShow = adminDetailShow;
	}

	public String getRelevanceClassShowField() {
		return relevanceClassShowField;
	}

	public void setRelevanceClassShowField(String relevanceClassShowField) {
		this.relevanceClassShowField = relevanceClassShowField;
	}

	public String getFormValidationRegulation() {
		return formValidationRegulation;
	}

	public void setFormValidationRegulation(String formValidationRegulation) {
		this.formValidationRegulation = formValidationRegulation;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public String getGeneralSearchField() {
		return generalSearchField;
	}

	public void setGeneralSearchField(String generalSearchField) {
		this.generalSearchField = generalSearchField;
	}

	public String getAdvancedSearchField() {
		return advancedSearchField;
	}

	public void setAdvancedSearchField(String advancedSearchField) {
		this.advancedSearchField = advancedSearchField;
	}

	public String getSearchWithinResultsField() {
		return searchWithinResultsField;
	}

	public void setSearchWithinResultsField(String searchWithinResultsField) {
		this.searchWithinResultsField = searchWithinResultsField;
	}

	public String getHighlightingField() {
		return highlightingField;
	}

	public void setHighlightingField(String highlightingField) {
		this.highlightingField = highlightingField;
	}

	public String getNavigationFacetedLeft() {
		return navigationFacetedLeft;
	}

	public void setNavigationFacetedLeft(String navigationFacetedLeft) {
		this.navigationFacetedLeft = navigationFacetedLeft;
	}

	public String getNavigationFacetedRight() {
		return navigationFacetedRight;
	}

	public void setNavigationFacetedRight(String navigationFacetedRight) {
		this.navigationFacetedRight = navigationFacetedRight;
	}

	public String getNavigationSearchField() {
		return navigationSearchField;
	}

	public void setNavigationSearchField(String navigationSearchField) {
		this.navigationSearchField = navigationSearchField;
	}

	public String getProductGeneralSearchField() {
		return productGeneralSearchField;
	}

	public void setProductGeneralSearchField(String productGeneralSearchField) {
		this.productGeneralSearchField = productGeneralSearchField;
	}

	public String getProductAdvancedSearchField() {
		return productAdvancedSearchField;
	}

	public void setProductAdvancedSearchField(String productAdvancedSearchField) {
		this.productAdvancedSearchField = productAdvancedSearchField;
	}

	public String getProductFaceted() {
		return productFaceted;
	}

	public void setProductFaceted(String productFaceted) {
		this.productFaceted = productFaceted;
	}

	public String getProductWebListShow() {
		return productWebListShow;
	}

	public void setProductWebListShow(String productWebListShow) {
		this.productWebListShow = productWebListShow;
	}

	public String getProductWebDetailShow() {
		return productWebDetailShow;
	}

	public void setProductWebDetailShow(String productWebDetailShow) {
		this.productWebDetailShow = productWebDetailShow;
	}

}
